// 可以按模块组织
const apiSidebar = [
  {
    text: 'API指南',
    collapsed: false,
    items: [
      { text: '概述', link: '/api/' },
      { text: 'API生成工具', link: '/api/openapi-ts-request' },
    ],
  },
  {
    text: '路由管理',
    collapsed: false,
    items: [
      { text: '路由概述', link: '/api/router' },
      { text: '路由配置选项', link: '/api/route-options' },
      { text: '<route>标签配置', link: '/api/router#使用-route-块配置路由' },
      { text: 'defineOptions配置', link: '/api/router#使用-defineoptions-配置路由' },
      { text: 'TSX路由配置', link: '/api/router#tsx组件路由配置' },
    ],
  },
  {
    text: '工具库',
    collapsed: false,
    items: [
      { text: 'Http请求', link: '/api/http' },
      { text: '缓存管理', link: '/api/cache' },
      { text: '全局状态管理', link: '/api/store' },
    ],
  },
];

export default apiSidebar;
